]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 months agotheme: Uniform the style of the dialog warnings
Marco Trevisan (Treviño) [Fri, 3 Oct 2025 02:37:49 +0000 (04:37 +0200)]
theme: Uniform the style of the dialog warnings

The end session dialog is now using a new style for the warning messages
but this style is not re-used by other dialogs that have messages with a
similar role.

So be consistent, and use same style for all the dialogs that are
showing a warning or an info message, and in particular
 - Keyring dialog error messages
 - Polkit dialogs error and info messages
 - Conflicting dialog warning message

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3897>

13 months agoUpdate Italian translation
Davide Ferracin [Mon, 6 Oct 2025 03:07:18 +0000 (03:07 +0000)]
Update Italian translation

13 months agost/theme-context: Warn instead of crashing on unsupported accent colors
Daniel van Vugt [Fri, 26 Sep 2025 06:36:41 +0000 (14:36 +0800)]
st/theme-context: Warn instead of crashing on unsupported accent colors

For example, Ubuntu's "brown". This is patched into gnome-shell for Ubuntu
but if you forget the patch then it's not worthy of a crash. Just pick a
colour and issue a warning.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3892>

13 months agopanelMenu: Remove invalid last argument to PopupMenu constructor
SimonMaracine [Sun, 28 Sep 2025 17:56:36 +0000 (20:56 +0300)]
panelMenu: Remove invalid last argument to PopupMenu constructor

Fixes: 4debedb275 ("Application Menu: add support for showing GApplication actions")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3894>

13 months agonotificationDamon: Always send the activation token
Marco Trevisan (Treviño) [Fri, 26 Sep 2025 04:29:16 +0000 (06:29 +0200)]
notificationDamon: Always send the activation token

In case of FDO notifications, we may receive a notification coming from
non-desktop-applications (e.g. gsd does that), but in any case when
activating an action we should always provide back the activation-token.

So send the startup notification ID in any case, even if the appId is
unset (in fact get_startup_notify_id() uses a nullable parameter for a
reason since GNOME/glib@6210708f).

In wayland this more than enough, while in X11 we could have used the
gnome-shell desktop file as fallback, but that's gone for good now!

Fixes: bb73bf5
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3891>

13 months agoUpdate Catalan translation
Jordi Mas [Thu, 25 Sep 2025 08:29:52 +0000 (10:29 +0200)]
Update Catalan translation

13 months agodata: Do not bundle org.freedesktop.Application interface
Florian Müllner [Wed, 24 Sep 2025 18:43:03 +0000 (20:43 +0200)]
data: Do not bundle org.freedesktop.Application interface

It is only needed at build time for gdbus-codegen.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3889>

13 months agodata: Remove unused D-Bus interface
Florian Müllner [Wed, 24 Sep 2025 18:43:03 +0000 (20:43 +0200)]
data: Remove unused D-Bus interface

The shell no longer uses the net.hadess.SensorProxy service directly,
but only via mutter API.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3889>

13 months agooverviewControls: Ensure ws thumbnails are expanded before fading in
Noam Raz [Wed, 24 Sep 2025 08:49:43 +0000 (11:49 +0300)]
overviewControls: Ensure ws thumbnails are expanded before fading in

The current logic in `_updateThumbnailsBox` updates the expand fraction
only after the fade animation completes, rendering the fade-in
transition broken: the thumbnails fade in, but they have a height of 0
until after the animation, when they jarringly "pop" into place. This
abrupt transition is observable when exiting search in the overview with
multiple active workspaces.

Instead, split up the logic a bit to make sure the thumbnails always
appear fully-expanded during the animation: when animating in, the
`expand-fraction` is set _before_ the animation starts, and when
animating out it is set after.

This logic should make all workspace thumbnail state transitions behave
correctly:

- The thumbnails still expand/collapse smoothly when `should-show`
  changes because `_updateThumbnailsBox` is called only when that
  transition completes.

- Transitions into/out of search just fade the thumbnails because they
  are always expanded during the animation.

- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7668 is avoided
  because `expand-fraction` is still set to 1 by `_updateThumbnailsBox`
  when revealing the thumbnails.

- The thumbnails still have an `expand-fraction` of 0 when hidden,
  carrying over the fixes from 9bf550da8 ("overviewControls: Set
  expandFraction for ws thumbnails to 0 when hidden").

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7985
Fixes: c576f82bd ("overviewControls: Make sure thumbnails expandFraction is bound to visibility")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3888>

13 months agogdm/authPrompt: Fix key focus handling on choice list
Marco Trevisan (Treviño) [Fri, 22 Aug 2025 13:08:23 +0000 (15:08 +0200)]
gdm/authPrompt: Fix key focus handling on choice list

When a choice list widget is prompted in GDM we call updateSensitivity()
but this does not act on the currently visible authentication widget but
rather on the text entry all the times.

And this causes that when a choice list is shown we always set the key
focus to the (hidden) text entry.

This implies that when the list is finally shown, moving the arrow keys
leads makes the entry context menu to be shown instead of being able to
navigate through the entries.

So, make updateSensitivity use the currently visible authorization
widget instead and use it to control the sensitivity of the choice list

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3849>

13 months agoslider: Use the sprite of the touch event, not the pointer
Daniel van Vugt [Tue, 23 Sep 2025 06:12:56 +0000 (14:12 +0800)]
slider: Use the sprite of the touch event, not the pointer

startDragging() starts with:

  const sprite = backend.get_sprite(global.stage, event);
  this._sprite = sprite;

but then vfunc_touch_event() would only compare this._sprite to:

  sprite = backend.get_pointer_sprite(global.stage);

which never matched. And so _endDragging() was never called and
the grab was never dismissed, effectively freezing the shell.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8660
Fixes: c206ec693 ("slider: Use Clutter.Sprite for pointing focus accounting")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3887>

13 months agoUpdate Portuguese translation
Hugo Carvalho [Mon, 22 Sep 2025 14:20:23 +0000 (14:20 +0000)]
Update Portuguese translation

13 months agoUpdate Turkish translation
Sabri Ünal [Sat, 20 Sep 2025 15:33:17 +0000 (15:33 +0000)]
Update Turkish translation

13 months agoUpdate Serbian (Latin) translation
Милош Поповић [Thu, 18 Sep 2025 07:36:48 +0000 (07:36 +0000)]
Update Serbian (Latin) translation

13 months agoUpdate Serbian translation
Милош Поповић [Thu, 18 Sep 2025 07:35:36 +0000 (07:35 +0000)]
Update Serbian translation

13 months agoUpdate Uighur translation
Abduqadir Abliz [Wed, 17 Sep 2025 17:07:04 +0000 (17:07 +0000)]
Update Uighur translation

13 months agoUpdate Occitan translation
Quentin PAGÈS [Tue, 16 Sep 2025 17:40:21 +0000 (17:40 +0000)]
Update Occitan translation

13 months agoUpdate Kabyle translation
BoF ButterflyOfFire [Tue, 16 Sep 2025 17:19:00 +0000 (17:19 +0000)]
Update Kabyle translation

13 months agoUpdate Occitan translation
Quentin PAGÈS [Mon, 15 Sep 2025 18:29:25 +0000 (18:29 +0000)]
Update Occitan translation

13 months agoBump version to 49.0
Florian Müllner [Sat, 13 Sep 2025 21:29:32 +0000 (23:29 +0200)]
Bump version to 49.0

Update NEWS.

13 months agobuild: Depend on GLib 2.86.0
Marco Trevisan (Treviño) [Mon, 1 Sep 2025 02:05:23 +0000 (04:05 +0200)]
build: Depend on GLib 2.86.0

As per previous change we now rely on a GLib version in which GioUnix
DesktopAppInfo implementation provides all the methods, so let's bump
the glib (actually gio) dependency for that.

As we need to be sure that the shell's typelib is rebuilt against newer
Gio, or updating GLib before than the shell would break us.

See: https://gitlab.gnome.org/GNOME/glib/-/issues/3776#note_2545887
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3860>

13 months agoenvironment: Drop DesktopAppIcon missing methods workaround
Marco Trevisan (Treviño) [Sun, 31 Aug 2025 00:58:29 +0000 (02:58 +0200)]
environment: Drop DesktopAppIcon missing methods workaround

This will be fixed in GLib 2.85.5 so there's no need to ship a
workaround for 49

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3860>

13 months agoci: Bump mutter image
Florian Müllner [Mon, 15 Sep 2025 01:04:26 +0000 (03:04 +0200)]
ci: Bump mutter image

Pull in glib 2.86.0, so that we can update our dependency.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3884>

13 months agoci: Fix building toolbox with latest malcontent
Ignacy Kuchciński [Fri, 12 Sep 2025 11:19:51 +0000 (13:19 +0200)]
ci: Fix building toolbox with latest malcontent

While introducing latest malcontent in the toolbox, mistakenly wrong
path to install-meson-project.sh was used. Correct this by using the
proper path, after copying the script there.

Moreover, disable building documentation in malcontent subproject
libgsystemservice, so that we don't have to install more dependencies.

Fixes: b7992b80 ("ci: Include latest malcontent in the toolbox")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3873>

13 months agoci: Test toolbox build when changing build script
Florian Müllner [Fri, 12 Sep 2025 12:10:11 +0000 (14:10 +0200)]
ci: Test toolbox build when changing build script

The build-toolbox job only runs for main and stable branches, so
we currently only know whether modifications to the build-toolbox
script actually work once they a merged.

To catch errors up-front, do test builds of the toolbox image
when a merge request modifies the build script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3875>

13 months agoci: Split out template for build-toolbox job
Florian Müllner [Fri, 12 Sep 2025 11:54:04 +0000 (13:54 +0200)]
ci: Split out template for build-toolbox job

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3875>

13 months agoUpdate Esperanto translation
Kristjan SCHMIDT [Sun, 14 Sep 2025 07:14:58 +0000 (07:14 +0000)]
Update Esperanto translation

13 months agoUpdate Romanian translation
Antonio Marin [Sat, 13 Sep 2025 16:43:40 +0000 (16:43 +0000)]
Update Romanian translation

13 months agomessageTray: Fix race condition causing stuck notification banners
everyx [Sat, 13 Sep 2025 04:01:17 +0000 (12:01 +0800)]
messageTray: Fix race condition causing stuck notification banners

A race condition can occur where a notification banner gets stuck on screen
and never disappears.

This happens when a new notification needs to be shown while an old one
is in the middle of its hiding animation. The process to show the new
notification calls `remove_all_transitions()`, which forcefully stops
the hiding animation of the old one.

The cleanup logic, which destroys the old banner actor, was located in
the `onComplete` handler of the animation. Since the animation was
interrupted and not completed, this handler was never called, leaving a
"zombie" banner on screen.

To fix this, the call to the cleanup function is moved from the
`onComplete` handler to an `onStopped` handler. This handler is
guaranteed to be called whenever an animation stops, regardless of
whether it finished successfully or was interrupted. This ensures the
banner is always cleaned up correctly.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6006
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3861>

13 months agopointerA11yTimeout: Protect against destroyed PieTimer actor
Carlos Garnacho [Fri, 12 Sep 2025 13:28:09 +0000 (15:28 +0200)]
pointerA11yTimeout: Protect against destroyed PieTimer actor

This trigger an exception if the PieTimer destroys itself before the
ClutterSeat::ptr-a11y-timeout-stopped signal triggers. It's unlikely
to happen now with the fixed arguments, but still makes sense for
correctness.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3877>

13 months agopointerA11yTimeout: Adapt to API changes in Mutter
Carlos Garnacho [Fri, 12 Sep 2025 13:22:31 +0000 (15:22 +0200)]
pointerA11yTimeout: Adapt to API changes in Mutter

https://gitlab.gnome.org/GNOME/mutter/-/commit/76166d61 did sneak
in an API change by removing the ClutterInputDevice arguments from
the ClutterSeat::ptr-a11y-timeout-* signals. Through a series of
astonishing coincidences, we don't use those arguments, so just
remove them. Since the rest of the arguments were shifted, this
fixes broken behavior of the PieTimer.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8654
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3877>

13 months agoci: Support "dry-run" builds of toolbox image
Florian Müllner [Fri, 12 Sep 2025 11:20:43 +0000 (13:20 +0200)]
ci: Support "dry-run" builds of toolbox image

This will allow testing the image build without actually updating
the image in the registry.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3876>

13 months agost/spinner-content: Disconnect timeline callbacks when the spinner is destroyed
Alessandro Astone [Fri, 12 Sep 2025 09:00:18 +0000 (11:00 +0200)]
st/spinner-content: Disconnect timeline callbacks when the spinner is destroyed

The ClutterFrameClock might still have active references on the ClutterTimeline
when the StSpinnerContent is freed.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8651
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3872>

13 months agodocs: Replace references to --nested with --devkit
Florian Müllner [Thu, 11 Sep 2025 19:20:08 +0000 (21:20 +0200)]
docs: Replace references to --nested with --devkit

The --devkit option is strongly recommended over the old --nested
nowadays, not least because the latter option no longer exists by
default (as it is tied to the X11 backend).

Remove the section on global shortcuts and workaround for looking glass,
as Devkit supports inhibiting keyboard shortcuts.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3871>

13 months agoci: Start with a fresh build dir to ensure test dependencies are correct
Marco Trevisan (Treviño) [Thu, 11 Sep 2025 11:33:42 +0000 (13:33 +0200)]
ci: Start with a fresh build dir to ensure test dependencies are correct

We want to ensure that meson test just works, without having to redo the
whole dependencies setup phase, so let's just start a new fresh build dir
and run tests there

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>

13 months agoextensions-app: Add test dependency on generated desktop file
Marco Trevisan (Treviño) [Thu, 11 Sep 2025 12:12:02 +0000 (14:12 +0200)]
extensions-app: Add test dependency on generated desktop file

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>

13 months agobuild: Define test dependencies
Marco Trevisan (Treviño) [Thu, 11 Sep 2025 11:29:31 +0000 (13:29 +0200)]
build: Define test dependencies

Ideally meson tests should just work without any pre-requisite build,
instead, we only need a configured build folder to work, but this does
not go as expected in gnome shell at the moment.

Since tests require generated files and compiled typelibs they don't
depend on, so just using `meson test -C build <test-name>` does not work
as expected.

So add test dependencies on test cases. We do not need to have per-test
dependencies right now since most of them share just the same
requirements, and this makes it easier to maintain

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>

13 months agobuild: Handle data as first subdir
Marco Trevisan (Treviño) [Thu, 11 Sep 2025 11:27:35 +0000 (13:27 +0200)]
build: Handle data as first subdir

We generate resources and files that may be required in next stages, so
lets do it as first thing

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>

13 months agoci: Include latest malcontent in the toolbox
Ignacy Kuchciński [Thu, 11 Sep 2025 13:37:06 +0000 (15:37 +0200)]
ci: Include latest malcontent in the toolbox

Currently the toolbox lacks malcontent >= 0.14.0, because that version
has not been released yet. However, we need it to test the upcoming
parental controls integration, so build it in the toolbox.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3841
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3870>

13 months agosearch: Make overview application search results grid RTL aware
Khalid Abu Shawarib [Mon, 25 Aug 2025 18:08:54 +0000 (21:08 +0300)]
search: Make overview application search results grid RTL aware

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3851>

13 months agosearch: Use a variable for tracking allocated width
Khalid Abu Shawarib [Tue, 2 Sep 2025 22:21:00 +0000 (01:21 +0300)]
search: Use a variable for tracking allocated width

Instead of the x coordinates of the allocation box.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3851>

13 months agobuild: Depend on gjs 1.85.90
Marco Trevisan (Treviño) [Tue, 12 Aug 2025 01:45:19 +0000 (03:45 +0200)]
build: Depend on gjs 1.85.90

While the actual version that was ported to libgirepository-2.0 was
1.85.2, we also rely on Gio wrappers that are part of gjs 1.85.90

See: https://gitlab.gnome.org/GNOME/gjs/-/blob/master/NEWS
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3836>

13 months agoci: Update mutter image
Florian Müllner [Thu, 11 Sep 2025 00:18:19 +0000 (02:18 +0200)]
ci: Update mutter image

The mutter image has been rebased to F43, pick it up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3868>

13 months agopo/ml: Fix wrong calendar date formats
Pranav Jerry [Sun, 31 Aug 2025 14:09:02 +0000 (19:39 +0530)]
po/ml: Fix wrong calendar date formats

Closes: https://gitlab.gnome.org/Teams/Translation/ml/-/issues/1
Signed-off-by: Mohammed Sadiq <sadiq@sadiqpk.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3856>

13 months agoci: Include glib-networking in JS image
Florian Müllner [Wed, 10 Sep 2025 17:32:33 +0000 (19:32 +0200)]
ci: Include glib-networking in JS image

It provides TLS support, which is needed by the
`gnome-extensions upload` to publish an extension
archive to the website.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3867>

13 months agoci: Update js tooling image to F43
Florian Müllner [Wed, 10 Sep 2025 14:13:54 +0000 (16:13 +0200)]
ci: Update js tooling image to F43

F43 has been branched from rawhide and now contains the current .rc,
so it's a good moment to rebase the CI image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3866>

13 months agoUpdated Spanish translation
Daniel Mustieles [Wed, 10 Sep 2025 10:03:57 +0000 (12:03 +0200)]
Updated Spanish translation

13 months agobrightnessManager: Handle absence of brightness control in _sync
Sebastian Wick [Mon, 8 Sep 2025 11:19:21 +0000 (13:19 +0200)]
brightnessManager: Handle absence of brightness control in _sync

We already call _sync in response to dimming changes, which might happen
no matter if we actually do have control over the brightness.

Let's just embrace _sync getting called in any situation and handle that
state gracefully by simply returning early. If we re-gain control, _sync
will be called again and the updated state becomes active.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8648
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3864>

13 months agoUpdate Dutch translation
Nathan Follens [Tue, 9 Sep 2025 21:53:18 +0000 (21:53 +0000)]
Update Dutch translation

13 months agost/button: Fix toggle-button with keyboard input
Alessandro Astone [Tue, 9 Sep 2025 12:34:14 +0000 (14:34 +0200)]
st/button: Fix toggle-button with keyboard input

An St.Button with toggle-mode ON would not update the toggle state when
invoked via keyboard input.

Fixes: dd694bf1a ("st/button: Use ClutterClickGesture instead of own button-press tracking")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3865>

13 months agoUpdate Danish translation
Ask Hjorth Larsen [Mon, 8 Sep 2025 23:21:19 +0000 (23:21 +0000)]
Update Danish translation

13 months agoUpdate Interlingua translation
Emilio Sepúlveda [Mon, 8 Sep 2025 17:27:18 +0000 (17:27 +0000)]
Update Interlingua translation

13 months agoUpdate Turkish translation
Sabri Ünal [Mon, 8 Sep 2025 17:00:20 +0000 (17:00 +0000)]
Update Turkish translation

14 months agoUpdate Korean translation
Changwoo Ryu [Sun, 7 Sep 2025 04:48:24 +0000 (04:48 +0000)]
Update Korean translation

14 months agoUpdate Swedish translation
Anders Jonsson [Sat, 6 Sep 2025 09:53:35 +0000 (09:53 +0000)]
Update Swedish translation

14 months agoUpdate Basque translation
Asier Saratsua Garmendia [Sat, 6 Sep 2025 07:47:57 +0000 (07:47 +0000)]
Update Basque translation

14 months agopopupMenu: Queue relayout on popup menu parent when opening
Jonas Ådahl [Fri, 5 Sep 2025 13:53:52 +0000 (15:53 +0200)]
popupMenu: Queue relayout on popup menu parent when opening

The position of the menu depends on the position of the "source actor",
but the source actor is not a parent of the menu, but typically a
sibling.

Since we depend on the source actor position for placing the popup menu,
it's important that the source actor gets allocated before we allocate.
Currently the only way to ensure that the source actor is allocated
before the popup menu is by handling the layout via the parent actor, as
the order of the allocations done when queuing shallow relayouts is
currently undefined. As of d94638acae ("clutter/actor: Make child
position changes a noop when possible") in mutter,
Clutter.Actor.set_child_above_sibling() has a fast path when the
position doesn't change, which means the parent was did not get its
relayout queued. This caused the popup menu to end up being allocated
before the source actor, thus using an out of date source actor
allocation to base its position calculation on.

To fix this, queue a relayout on the parent actor unconditionally, after
inserting it into the parent actor, to let us be able to rely on the
source actor having been allocated before the popup menu itself getting
allocated.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/4253
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3863>

14 months agolayout: Give dummy cursor actor a name
Jonas Ådahl [Fri, 5 Sep 2025 13:53:18 +0000 (15:53 +0200)]
layout: Give dummy cursor actor a name

Helps when introspecting the actor tree.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3863>

14 months agoUpdate Lithuanian translation
Aurimas Aurimas Černius [Fri, 5 Sep 2025 19:43:43 +0000 (19:43 +0000)]
Update Lithuanian translation

14 months agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 5 Sep 2025 19:10:13 +0000 (19:10 +0000)]
Update Ukrainian translation

14 months agoUpdated Spanish translation
Daniel Mustieles [Fri, 5 Sep 2025 12:05:27 +0000 (14:05 +0200)]
Updated Spanish translation

14 months agoUpdate Russian translation
Artur S0 [Thu, 4 Sep 2025 17:32:17 +0000 (17:32 +0000)]
Update Russian translation

14 months agoUpdate Persian translation
Danial Behzadi [Thu, 4 Sep 2025 13:10:10 +0000 (13:10 +0000)]
Update Persian translation

14 months agoUpdate Georgian translation
Ekaterine Papava [Thu, 4 Sep 2025 09:42:01 +0000 (09:42 +0000)]
Update Georgian translation

14 months agoUpdate Basque translation
Asier Saratsua Garmendia [Thu, 4 Sep 2025 08:43:24 +0000 (08:43 +0000)]
Update Basque translation

14 months agoUpdate Hungarian translation
Balázs Úr [Tue, 2 Sep 2025 12:09:04 +0000 (12:09 +0000)]
Update Hungarian translation

14 months agoUpdate British English translation
Bruce Cowan [Tue, 2 Sep 2025 09:56:37 +0000 (09:56 +0000)]
Update British English translation

14 months agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Mon, 1 Sep 2025 18:33:21 +0000 (18:33 +0000)]
Update Brazilian Portuguese translation

14 months agojs: Use DesktopAppInfo from GioUnix
Marco Trevisan (Treviño) [Sun, 31 Aug 2025 00:55:13 +0000 (02:55 +0200)]
js: Use DesktopAppInfo from GioUnix

The type was never part of Gio, but it's an Unix specific type, so use
the platform-specific typelib instead.

This would still work in gjs for 49 but would trigger a warning.

See: https://gitlab.gnome.org/GNOME/glib/-/issues/3744
See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4761
See: https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/1018
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3855>

14 months agoUpdate Chinese (China) translation
luming zh [Mon, 1 Sep 2025 01:23:01 +0000 (01:23 +0000)]
Update Chinese (China) translation

14 months agoBump version to 49.rc
Florian Müllner [Sun, 31 Aug 2025 16:02:38 +0000 (18:02 +0200)]
Bump version to 49.rc

Update NEWS.

14 months agoUpdate Finnish translation
Jiri Grönroos [Sun, 31 Aug 2025 18:38:40 +0000 (18:38 +0000)]
Update Finnish translation

14 months agoUpdate Catalan translation
Jordi Mas [Sun, 31 Aug 2025 04:40:35 +0000 (06:40 +0200)]
Update Catalan translation

14 months agost/theme-context: Run dispose on theme nodes on theme context changes
Jonas Dreßler [Thu, 24 Jul 2025 16:27:29 +0000 (18:27 +0200)]
st/theme-context: Run dispose on theme nodes on theme context changes

When the theme context changes, we clear the theme cache and make the
widget tree throw away and create new theme nodes. That's because the
old theme nodes can no longer be used, they might be referencing old
CSS data, scale factors, or other things.

St itself should never reuse theme nodes after theme context changes,
but of course theme nodes are exposed to users of St, and they can
always keep a theme node around and call a method on it even after a
theme context change.

To avoid those outdated theme nodes accessing outdated pointers into
the Croco structures and causing crashes, force-run their `dispose()`
function when the theme context changes. This should ensure that all
problematic pointers in the theme nodes are cleared, and users of St
can't crash gnome-shell.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3809>

14 months agost/theme-node: Free properties array on dispose rather than finalize
Jonas Dreßler [Thu, 24 Jul 2025 17:47:58 +0000 (19:47 +0200)]
st/theme-node: Free properties array on dispose rather than finalize

We're going to use `g_object_run_dispose()` on StThemeNode with the next
commit in order to manually clear the properties array and a few other
things when the StThemeContext changes.

That's because after theme context changes, the CSS properties will no
longer be valid, and accessing them will cause crashes. Even if St behaves
nicely and throws out all theme nodes on theme context changes, there
might still be users holding references to nodes, so we want to ensure that
the old nodes are harmless after theme context changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3809>

14 months agost/widget: Don't animate theme node updates on theme context changes
Jonas Dreßler [Thu, 24 Jul 2025 16:51:25 +0000 (18:51 +0200)]
st/widget: Don't animate theme node updates on theme context changes

With commit 4dfa39457e, I was assuming that emitting `::changed` on the
StThemeContext, triggering StWidgets recursive style-changed machinery,
is enough to get rid of all the theme nodes that are in use, ensuring
they're never accessed again after the `::changed` emission.

That assumption turned out to be wrong: `st_widget_recompute_style()`
animates updates of theme nodes using StThemeNodeTransition, and
StThemeNodeTransition keeps the old theme node around, accessing it at
various later points. This caused various crashes on extension
loading/unloading, because that triggers a theme context change, where
a StThemeNodeTransition would later access an outdated theme node,
pointing to CSS properties that are already freed.

That said, reverting 4dfa39457e doesn't seem like the best idea,
because other calls to `st_theme_context_changed()` also seem to make
the same (incorrect) assumption, eg. `st_theme_context_set_theme()`
seems like a good candidate for a similar crash.

Probably St just shouldn't try to animate on theme context changes: The
old theme nodes are no longer usable after those, but
StThemeNodeTransition expects them to be, so that's just a bad idea.

So change the style-changed machinery a bit to allow disabling transitions
and use that to avoid transitions on theme context changes.

Fixes: 4dfa39457e ("st/theme-context: Also remove theme nodes on stylesheet changes")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7339
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3809>

14 months agost/theme-node: Remove unused field
Daniel van Vugt [Thu, 17 Apr 2025 09:38:21 +0000 (17:38 +0800)]
st/theme-node: Remove unused field

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3809>

14 months agostatus/network: Update Wi-Fi quicksettings icon on disconnect
Mitchell Augustin [Fri, 15 Aug 2025 17:49:03 +0000 (12:49 -0500)]
status/network: Update Wi-Fi quicksettings icon on disconnect

Prior to this patch, upon a connected AP disconnecting from
the device, the current quicksettings wi-fi icon will continue
showing the "network-wireless-connected-symbolic" symbol in
the time between the initial disconnection and the adapter
deactivation, even though the connection has been
degraded by virtue of no longer being routable.

This will also happen in the
NM.ActiveConnectionState.DEACTIVATING state.

To make this clearer to the user, this change modifies
quicksettings' wifi icon to reflect the degraded states:
- An activated adapter with no active AP connection will
now map to the network-wireless-offline-symbolic icon
(to indicate that the AP signal is lost)

- NM.ActiveConnectionState.DEACTIVATING will now map to the
network-wireless-acquiring-symbolic icon (to indicate that
a state transition is in progress)

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8605

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3840>

14 months agoUpdate Galician translation
Fran Diéguez [Sat, 30 Aug 2025 19:05:27 +0000 (19:05 +0000)]
Update Galician translation

14 months agoUpdate Hebrew translation
Yaron Shahrabani [Sat, 30 Aug 2025 05:19:30 +0000 (05:19 +0000)]
Update Hebrew translation

14 months agogdm/authPrompt: Preserve the text when switching entry visibility
Marco Trevisan (Treviño) [Mon, 25 Aug 2025 12:35:57 +0000 (14:35 +0200)]
gdm/authPrompt: Preserve the text when switching entry visibility

The text visibility of an auth prompt entry may change dynamically at
runtime, in particular when unlocking the screen with the blank screen
or with the screen shield visible this is happening:
 - The user starts typing the PAM credential (may be secret or not)
 - Under the hood the PAM conversation starts and actually asks user
   for input
 - The entry text is not cleared because we use what the user has typed
   so far as the preemptive secret.
 - The entry is adjusted to follow the requested PAM text visibility
   settings.
   -> This may lead to switching the actual text entry widget in use

Now, if the first entry that PAM requires is "ECHO ON", like it may
happen in the case in which a visible value is requested, we end up
"clearing" what the user as typed instead of preserving the value as
pre-filled value.

Causing the user typing something wrong instead.

To prevent this we need to restore both the text, the cursor position
and the selection bounds (in case the use pressed some key [binding])
leading to a position or selection change.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>

14 months agogdm/authPrompt: Factorize the entry update code
Marco Trevisan (Treviño) [Tue, 26 Aug 2025 14:40:07 +0000 (16:40 +0200)]
gdm/authPrompt: Factorize the entry update code

Cleanup the code a bit to make future updates smaller

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>

14 months agogdm/authPrompt: Clear the inactive entry too
Marco Trevisan (Treviño) [Mon, 25 Aug 2025 12:29:55 +0000 (14:29 +0200)]
gdm/authPrompt: Clear the inactive entry too

In multi-factor authentication cases we may end up clearing the current
entry, but we are potentially leaving a previously filled inactive entry
as it is.

Avoid this, and clear all the entries we have when clearing the prompt.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>

14 months agogdm/authPrompt: Unset the entry reference on destruction
Marco Trevisan (Treviño) [Mon, 25 Aug 2025 12:25:49 +0000 (14:25 +0200)]
gdm/authPrompt: Unset the entry reference on destruction

We use the internal entry as the reference to the text entry that is
currently in use, but during destruction we do not unset it, thus the
garbage collector may requires further cycles to actually release it.

Simplify its job here, improves 572d011894c9b490b8a17ad7db6adec335fbb017

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>

14 months agoslider: Flip horizontal scroll coordinates in RTL languages
Carlos Garnacho [Mon, 18 Aug 2025 16:59:49 +0000 (18:59 +0200)]
slider: Flip horizontal scroll coordinates in RTL languages

In those languages, the horizontal axis still grows positively
towards the right, which means we need to invert left and right
as they come from scroll events, in order to have the expected
effect.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3842>

14 months agoslider: Merge scroll() method with vfunc
Carlos Garnacho [Mon, 18 Aug 2025 16:57:56 +0000 (18:57 +0200)]
slider: Merge scroll() method with vfunc

This method is no longer being poked outside the slider, so merge
it with the only place calling it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3842>

14 months agostatus/volume: Handle scroll events distinctly
Carlos Garnacho [Mon, 18 Aug 2025 16:55:32 +0000 (18:55 +0200)]
status/volume: Handle scroll events distinctly

Stop funneling the events to the (maybe hidden) volume
slider actor, and handle events directly at the volume
status icon.

This allows us to move it back to vertical motion, since
there are no cues to make us think scroll should be
horizontal here. The slider will still prefer horizontal
motion.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3842>

14 months agoslider: Add a step() method
Carlos Garnacho [Fri, 29 Aug 2025 21:36:32 +0000 (23:36 +0200)]
slider: Add a step() method

This method takes a (possibly fractional) number of scroll steps,
and converts it to the right amount to move the slider value.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3842>

14 months agostatus/system: Indicate "battery health" status
Florian Müllner [Tue, 17 Sep 2024 17:36:55 +0000 (19:36 +0200)]
status/system: Indicate "battery health" status

"Preserve battery health" is a new feature which limits battery
charging in order to increase battery longevity.

Currently when the charging limit is hit, the state is
indistinguishable from the unplugged, discharging state,
which isn't great: The user has no way to know whether
the limit was reached, or they accidentally unplugged
the device.

To address this, use dedicated icons in the plugged-in-
but-not-charging case.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5228
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3474>

14 months agostyle: Special case media buttons
Jakub Steiner [Wed, 20 Aug 2025 10:23:12 +0000 (12:23 +0200)]
style: Special case media buttons

- make media button semi-transparent too

See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8599

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3838>

14 months agostyle: Use correct style class on lock screen
Florian Müllner [Wed, 13 Aug 2025 18:30:08 +0000 (20:30 +0200)]
style: Use correct style class on lock screen

Nothing uses the 'notification' style class anymore, actors based
on MessageList.Message (like MPRIS notifications) use 'message'.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8599
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3838>

14 months agost/private: Fix texture leak when creating shadow from actor
Sebastian Keller [Thu, 21 Aug 2025 17:45:21 +0000 (19:45 +0200)]
st/private: Fix texture leak when creating shadow from actor

cogl_pipeline_set_layer_texture() adds its own ref to the texture in
_cogl_pipeline_set_layer_texture_data() when called via
_st_create_shadow_pipeline(), so the initial reference is leaked when
the pointer is stolen.

Fix this by not stealing the pointer, so autoptr can unref the texture.
Before the code was changed to autoptr in 71accdd97 the texture was also
manually unrefed after calling _st_create_shadow_pipeline().

Fixes: 71accdd97 ("st: Adapt to CoglObject removal")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8509
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3854>

14 months agopanel: Update to Mutter API updates
Carlos Garnacho [Mon, 26 May 2025 15:25:45 +0000 (17:25 +0200)]
panel: Update to Mutter API updates

Fetch the Clutter.Sprite in order to drag windows.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agodnd: Identify pointing focus through Clutter.Sprite
Carlos Garnacho [Mon, 26 May 2025 15:26:16 +0000 (17:26 +0200)]
dnd: Identify pointing focus through Clutter.Sprite

Move away from devices and sequences to identify these, and rely
on Clutter.Sprite.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agopopupMenu: Use Clutter.Sprite for pointing focus identification
Carlos Garnacho [Mon, 26 May 2025 15:25:16 +0000 (17:25 +0200)]
popupMenu: Use Clutter.Sprite for pointing focus identification

Move away from devices and sequences for this.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agoslider: Use Clutter.Sprite for pointing focus accounting
Carlos Garnacho [Mon, 26 May 2025 15:24:29 +0000 (17:24 +0200)]
slider: Use Clutter.Sprite for pointing focus accounting

Move away from devices and sequences for this identification.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agowindowMenu: Use Clutter.Sprite for finding the pointer focus
Carlos Garnacho [Mon, 26 May 2025 15:23:30 +0000 (17:23 +0200)]
windowMenu: Use Clutter.Sprite for finding the pointer focus

Update to API updates in Mutter, by looking up the sprite and
using it in window drag API.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agost: Make st_widget_sync_hover() based on crossing events
Carlos Garnacho [Fri, 23 May 2025 09:41:38 +0000 (11:41 +0200)]
st: Make st_widget_sync_hover() based on crossing events

Avoid pointer queries, and account for possibly multiple sprites
being in the same actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agogdm: Drop explicit calls to sync_hover()
Carlos Garnacho [Fri, 23 May 2025 09:12:20 +0000 (11:12 +0200)]
gdm: Drop explicit calls to sync_hover()

This was added in commit bfea41b771, together with some
manual hover/reactive state manipulation. The rest of the
calls went away, and crossing events came a long way since,
these explicit sync_hover() calls are not necessary anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3726>

14 months agost/focus-manager: Check for NULL instead of stage to exit loop
Jonas Dreßler [Fri, 1 Mar 2024 17:39:18 +0000 (18:39 +0100)]
st/focus-manager: Check for NULL instead of stage to exit loop

In st_focus_manager_stage_event() we get the current key-focus actor from
the stage, and then enter a loop where we iterate through parents until we
get to the stage. If the key-focus actor is not a descendent of the stage
for some reason, this loop will never exit and we've locked up.

We can easily prevent the endless loop by checking for NULL as the exit
condition instead of checking for the stage, so do that instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3220>